// stores/counter.js
import { defineStore } from 'pinia';
import{ref} from 'vue'

export const userStore = defineStore('user', () => {
	// state
  const username = ref('')
  const password = ref('')
  const userId = ref('')
  const avator = ref('')
  const detailtravelId = ref(0)
  const local = ref('重庆')
  const detailorderlId = ref(0)
  // getters
  /* const doubleCount = computed(() => count.value * 2) */
  // actions
 /* function increment() {
    count.value++
  } */

  return { username,password,userId,avator,detailtravelId,local,detailorderlId }
})
